package com.heima.controller;

import com.heima.service.ReportService;
import io.swagger.annotations.Api;
import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import java.time.LocalDate;

@Slf4j
@Api("报表")
@RestController
@RequestMapping("/api/order_service/report")
public class ReportController {
    @Autowired
    private ReportService reportService;
    @GetMapping("/orderCount")
    public int getTotalOrders(LocalDate start, LocalDate end){

        return 1;
    }
}
